<?php

    session_start ();
    include 'function.php';
    display_header();
    if (isset($_SESSION['login']) && isset($_SESSION['mdp'])) {
    
    include 'include/Data.php';
    $sql = "DELETE FROM machine_virtuel";
    $req = mysql_query($sql,$connexion);

    exec ('rm -r /home/.VM/.VirtualBox/*');

    
    display_footer();
    } else { header("Refresh: 0; URL=index.php"); }
    is_log();
        
?>